package com.ten.jinxiancun.server.impl;

import com.ten.jinxiancun.mapper.PurchasingplanMapper;
import com.ten.jinxiancun.server.PurchasingplanServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public class PurchasingplanServerImpl implements PurchasingplanServer {
    @Autowired
    PurchasingplanMapper purchasingplanMapper;
    @Override
    public List<Map<String, Object>> getAllPur(Map<String, Object> map) {
        return purchasingplanMapper.getAllPur(map);
    }

    @Override
    public Integer count(Map<String, Object> map) {
        return purchasingplanMapper.count(map);
    }

    @Override
    public List<Map<String, Object>> adminPurchasingplanAllFind(Map<String, Object> map) {
        return purchasingplanMapper.adminPurchasingplanAll(map);
    }

    @Override
    public Integer adminCountFind(Map<String, Object> map) {
        return purchasingplanMapper.adminCount(map);
    }

    @Override
    public Integer adminUpdateInspectorStatusFind(Map<String, Object> map) {



        return purchasingplanMapper.adminUpdateInspectorStatus(map);
    }

    @Override
    public Integer AddPurDetailsFind(Map<String, Object> map) {
        return purchasingplanMapper.AddPurDetails(map);
    }
}
